Undergraduate Project
This project describes the design and implementation of a communication protocol using the Modicon Modbus Protocol for establishing master-slave communication. The project involves controlling two motors (A and B) to fill a tank based on water level measurements. The system utilizes RTU framing and UART communication over a baud rate of 9600 bits-per-second. Error packet timeouts are implemented according to the protocol. The motors are modeled using LEDs for visual indication, while water level is indicated using a potentiometer. The report presents the system description, protocol design and implementation details, device modeling approach, experimental results, observations, and a discussion of design decisions and challenges faced during implementation. The conclusion evaluates the effectiveness of the designed communication protocol and suggests potential improvements.